//
//  HROrderType.h
//  haierapp
//
//  Created by Xia Zhiyong on 14-8-15.
//  Copyright (c) 2014年 haier. All rights reserved.
//

#ifndef haierapp_HROrderType_h
#define haierapp_HROrderType_h

typedef enum {
    ORDER_TYPE_WAIT_FOR_PAY = 0,     //待付款
    ORDER_TYPE_WAIT_FOR_DELIVERY,    //待发货
    ORDER_TYPE_WAIT_FOR_RECEIPT,       //待收货
    ORDER_TYPE_RECEIPTED,              //已收货
    ORDER_TYPE_REFUNDING,             //退款中
    ORDER_TYPE_SUCCEED,             //交易成功
    ORDER_TYPE_CLOSED,                 //交易关闭
    ORDER_TYPE_AFTERSALE_DEALING,       //售后处理
    ORDER_TYPE_WAIT_COMMENT,          //待评价
    ORDER_TYPE_CANCELED,              //已取消
    ORDER_TYPE_NONE                    
}ORDER_TYPE; //订单类型


#define ORDER_STATUS_UNPAID @"未支付"
#define ORDER_STATUS_PAID_DEPOSIT @"已付定金"
#define ORDER_STATUS_PAID @"已支付"
#define ORDER_STATUS_DELIVERY @"已发货"
#define ORDER_STATUS_CANCELED @"已取消"
#define ORDER_STATUS_RECEIPTED @"已签收"

#define ORDER_STATUS_AFTERSALE_REPLACEING @"换货审核中"
#define ORDER_STATUS_AFTERSALE_REPLACE_FAILED @"换货审核失败"
#define ORDER_STATUS_AFTERSALE_REPLACED @"换货完成"

#define ORDER_STATUS_AFTERSALE_RETURNING @"退货审核中"
#define ORDER_STATUS_AFTERSALE_RETURN_FAILED @"退货审核失败"

#define ORDER_STATUS_REFUNDING @"退款中"
#define ORDER_STATUS_REFUNDED @"退款完成"

#define ORDER_STATUS_COMPLETE @"完成"


#endif
